#ifndef _SOFAST_JSON_WRITER_H__
#define _SOFAST_JSON_WRITER_H__

#include "sf_json_struct.h"

#ifdef __cplusplus
extern "C" {
#endif

	struct JSON_DATA * create_json_string(const char *key, const char *value);

	struct JSON_DATA * create_json_array(const char *key);

	struct JSON_DATA * create_json_object(const char *key);

	char * json2string(const struct JSON_DATA * item);

#ifdef __cplusplus
}
#endif

#endif// _SOFAST_JSON_WRITER_H__
